FROM openjdk:8-jre-alpine
#ENV TZ=Asia/Shanghai
#RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY ./target/*.jar /tmp/app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "-Xms32m", "-Xmx96m", "/tmp/app.jar"]